package com.henu.cee_service.service;

import com.henu.cee_service.entity.University;
import com.henu.cee_service.vo.req.*;
import com.henu.cee_service.vo.resq.PageVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * description: UniversityService
 * date: 2020/7/28 17:36
 * author: JSM
 * version: 1.0
 */

public interface UniversityService {

    PageVO<University> pageInfo(UniversityPageReqVO vo);

    PageVO<University> pageInfoByProvince(UniversityPageByProvinceReqVO vo);

    PageVO<University> pageInfoByScore(UniversityPageByScoreReqVO vo);

    void addUniversity(UniversityAddReqVO vo);

    void deleteUniversity(Long id);

    void updateUniversity(UniversityUpdateReqVO vo);

    List<University> selectByName(String name);

    University selectById(Long id);
}
